package com.ebeijia.mybatis.mapper;

import java.util.List;
import java.util.Map;

import com.ebeijia.dto.OrderInfoDto;
import com.ebeijia.dto.PaymentDto;
import com.ebeijia.query.OrderQuery;
import org.apache.ibatis.annotations.Param;

import com.ebeijia.mybatis.pojo.OrderInfo;
import com.ebeijia.mybatis.pojo.UserInfo;

public interface OrderInfoMapper {

	
    int deleteByPrimaryKey(String id);

	int insert(OrderInfo record);

	int insertSelective(OrderInfo record);

	OrderInfo selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(OrderInfo record);

	int updateByPrimaryKey(OrderInfo record);

	OrderInfo selectByParams(@Param(value = "params") Map<String, Object> params);

	List<PaymentDto> selectPayList(OrderQuery orderQuery);

	int selectPayCount(OrderQuery orderQuery);



}